static GtkCssValue *
gtk_css_custom_property_parse_value (GtkStyleProperty *property,
- GtkCssParser *parser,
- GFile *base)
+ GtkCssParser *parser)
{
GtkCssCustomProperty *custom = GTK_CSS_CUSTOM_PROPERTY (property);
GValue value = G_VALUE_INIT;
gtk_css_scanner_push_section (scanner, GTK_CSS_SECTION_VALUE);
value = _gtk_style_property_parse_value (property,
- scanner->parser,
- gtk_css_scanner_get_base_url (scanner));
+ scanner->parser);
if (value == NULL)
{
static GtkCssValue *
gtk_css_shorthand_property_parse_value (GtkStyleProperty *property,
- GtkCssParser *parser,
- GFile *base)
+ GtkCssParser *parser)
{
GtkCssShorthandProperty *shorthand = GTK_CSS_SHORTHAND_PROPERTY (property);
GtkCssValue **data;
static GtkCssValue *
gtk_css_style_property_parse_value (GtkStyleProperty *property,
- GtkCssParser *parser,
- GFile *base)
+ GtkCssParser *parser)
{
GtkCssStyleProperty *style_property = GTK_CSS_STYLE_PROPERTY (property);
* _gtk_style_property_parse_value:
* @property: the property
* @parser: the parser to parse from
- * @base: the base file for @aprser
*
* Tries to parse the given @property from the given @parser into
* @value. The type that @value will be assigned is dependant on
**/
GtkCssValue *
_gtk_style_property_parse_value (GtkStyleProperty *property,
- GtkCssParser *parser,
- GFile *base)
+ GtkCssParser *parser)
{
GtkStylePropertyClass *klass;
klass = GTK_STYLE_PROPERTY_GET_CLASS (property);
- return klass->parse_value (property, parser, base);
+ return klass->parse_value (property, parser);
}
/**
GtkStyleQueryFunc query_func,
gpointer query_data);
GtkCssValue * (* parse_value) (GtkStyleProperty * property,
- GtkCssParser *parser,
- GFile *base);
+ GtkCssParser *parser);
GHashTable *properties;
};
const char * _gtk_style_property_get_name (GtkStyleProperty *property);
GtkCssValue * _gtk_style_property_parse_value (GtkStyleProperty * property,
- GtkCssParser *parser,
- GFile *base);
+ GtkCssParser *parser);
GType _gtk_style_property_get_value_type(GtkStyleProperty * property);
void _gtk_style_property_query (GtkStyleProperty * property,